package com.pz.cloud.framework.business.material.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.pz.cloud.framework.base.model.WorkflowEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
@TableName("material_apply_detail")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="场地物资申请详情", description="场地物资申请详情")
public class MaterialApplyDetail {

    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty("主键")
    private String id;

    @ApiModelProperty("申请表id")
    private String applyId;

    @ApiModelProperty("场地物资id")
    private String materialId;

    @ApiModelProperty("场地物资名称")
    private String materialName;

    @ApiModelProperty("申请数量")
    private Integer count;

    @ApiModelProperty("类型")
    @Dict(dicCode = "material_type")
    private String materialType;
}
